$ git status2. Add all files to the project:
$ git add -Athe -A option means track all including deleted files.
3. Commit:
$ git commit -m "[Comments]"the -m option gives you the possibility to add your comments in the same line.
4. Push:
$ git push -u origin masterThe -u is optional and what it does is sets your local repo to a central one in order to, in the next time, git knows where to push and pull from.
For basic snapshotting see:
http://gitref.org/basic/
0 comments:
Post a Comment