Please enable JavaScript.
Coggle requires JavaScript to display documents.
GIT (SUMMARIZE (BASIC (file deleted? (merge changes to repository (git…
GIT (
SUMMARIZE,
adding,
git diff (to check the differences of the repository) what I changed,
REVIEW,
START (
git init (To start the repository of GIT on current directory Documents/myTest)),
git commit -m "adding a file" (to place what is in storage into our repository, with the message "adding a file" TO SAVE CHANGES,
SAVE (
git push -u origin (to upload changes to repository on github, "-u" is to remember parameters, "origin" is the name of the repository
)),
Browsing,
removing,
git remote add origin url (add new repository of local project in URL the name of origin is any name we want
git remote add origin https://github.com/try-git/try_git.git)::,
git pull origin master to check changes of repository,
git reset file.ext (to remove from stage files) ,
git checkout -- file.ext(remove changes since last commit "like a undo" to a certain file git checkout -- octocat.txt) RECOVER FILE,
git merge name_of_branch (to merge a branch to another branch),
git checkout name_of_branch_tree (to switch to branch or tree) MOVE / SWITCH TO ANOTHER BRANCH/TREE git checkout clean_up,
git push (to upload everything to the repository),
git mv file_from file_to To rename a file (git mv Readme.md Readme),
FOLLOW
https://confluence.atlassian.com/bitbucket/copy-your-git-repository-and-add-files-746520876.htmlhttp://readwrite.com/2013/10/02/github-for-beginners-part-2/,
https://www.vikingcodeschool.com/dashboard#/web-development-basics/getting-to-know-githttps://www.vikingcodeschool.com/dashboard#/web-development-basics/git-calisthenics)