Ryan's Blog

GIT: Doing things the lazy way

Posted in Uncategorized by ryanlayer on February 5, 2015

Add all modified files:


git add `git ls-files --modified`

Add new .c files:


git add `git ls-files --other | grep .c`

Advertisements
Tagged with:

SVN and GIT commands

Posted in Uncategorized by ryanlayer on January 4, 2010

svn co svn+ssh://username@your.remote-server.com/home/svn/proj
git clone git+ssh://username@your.remote-server.com/home/git/proj

Tagged with: ,