Still learning the system.
git init | Tell git to start watching the directory
git clone <repo> | Get a local copy of the repository
.gitignore | Contains patterns of files to ignore
git rm --cached <file> | Stop tracking the file in git
git add <file> | Stage a snapshot of the file
git rm <file> | Stage the file's removal
git mv <a> <b> | Rename 'a' to 'b' and stage the change
git status | Staging status of files
git status -s | Simpler version of status
git commit | Upload to server
git commit -m "txt" | Commit, with inline message
No comments:
Post a Comment