git clone // how to retrieve a repository
git status // check the status
git add . // add a file
git commit -m "Message" // descriptive message detailing commit
git push // push your local file and commit to repository
git pull // pull any insertions
git config --global user.name "username" // sets a name for commit
.gitignore // file to store files you want ignored from the repository
git diff -> shows the difference between two files
git log -> check the history of commits
git log - p -> check changes made from the commit (end by typing q)
git log -p -1 -> reduces the number of commits to be checked
gitk -> gui used to analyze multiple reports
if merge -> add/commit/pull(check code for corrections)/add/commit/push
git rebase --skip -> you skip the commit from your local computer and push the latest commit from github
-
Notifications
You must be signed in to change notification settings - Fork 0
ShaquitaP/Engineering-programming
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published