March 30, 2009

Git FAQ

Filed under: Uncategorized — Tags: — rathervague @ 6:52 pm

Update local copy from github.com
git fetch origin
Update your local branch with origin/master, then replay your changes
git rebase origin/master
Overwrite local files
git checkout .
Commit changes
git commit -m "First import"
Send your commits to github.com
git push origin

On Ubuntu use GCT for commits
sudo apt-get install commit-tool

On OSX GITX INSTEAD
Mark all changes for commit
git add .
Commit your changes locally
git commit

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

rathervague.co.uk © 2010