Uly.me

cloud engineer

  • Home
  • About
  • Archives
Home

November 3, 2012

Git Status

Git Status is a command to display the status of files in the local working repository. It displays differences of files whether if updated or if it needs to committed to the repository. The Git Status command is typed in Terminal of the local working directory.

git status

git status

Filed Under: Git Tagged With: status

November 3, 2012

Subversion Status

The Subversion Status command give you the status of the local working directory. Type this command in the Terminal to display the status.

svn status

svn status

Filed Under: SVN Tagged With: status

November 2, 2012

Subversion Import

Typically, you use the Subversion Import command to start or add a new project to a remote repository. Subversion recommends that you setup three directories called trunk, tags and branches under each project in a repository. Trunk will be the current version you are working on. Tags are for releases. Branches are when you fork projects based on one particular release. The following directory format under each project is recommended.

repository/project/trunk
                  /tags
                  /branches

repository/project/trunk /tags /branches

Once the directories are setup, you can then perform the import command to upload a new project to the repository. Just the following command in the Terminal.

svn import project http://repository -m "Place comments here."

svn import project http://repository -m "Place comments here."

Filed Under: SVN Tagged With: import

November 2, 2012

Subversion Tag

Subversion Tags are snapshots of a project at a certain time. Tags are ideal for version releases. To create a tag, you will need to type the following command in the Terminal. It’s a good idea when creating a project that you create a tag directory under the project directory. The tag directory will be the place where you can store all your tag releases in an organized way.

svn copy http://repository/project/trunk \ 
         http://repository/project/tags/1.0 \ 
         -m "Place comments here."

svn copy http://repository/project/trunk \ http://repository/project/tags/1.0 \ -m "Place comments here."

Filed Under: SVN Tagged With: tag

November 2, 2012

Git Add

The Git Add command will add files to the current local working repository. This is how files are officially added to the local repository. You can specify one file or multiple files by using wildcards.

Add one file

git add sample.php

git add sample.php

Add all files

git add .

git add .

Add all PHP files

git add *.php

git add *.php

Filed Under: Git Tagged With: add

  • « Previous Page
  • 1
  • …
  • 148
  • 149
  • 150
  • 151
  • 152
  • Next Page »
  • Cloud
  • Linux
  • Git

Copyright © 2012–2021