diff --git a/notes_27_1_17.txt b/notes_27_1_17.txt new file mode 100644 index 0000000..567bfb9 --- /dev/null +++ b/notes_27_1_17.txt @@ -0,0 +1,21 @@ +git clone + Clones a repo from github onto your local system +git status + To view the untracked files and folders in the repository +git reset HEAD~1 + Moves repo back to the previous commit made +git-remote -v + Lists the remotes linked to the repository + + +Files ending with ~ are made by the text editor and will generally cease to exist as soon as the editor is closed + +This is a trial for rebasing. +git rebase -i + i is for interactive rebasing + rebasing-squashing is merging two commits into one commit + +The commit log can be visualized as a linked list of commits +The latest git commit is called the HEAD +The second last commit is HEAD~1 +Another trial diff --git a/notes_27_1_17.txt~ b/notes_27_1_17.txt~ new file mode 100644 index 0000000..38ee61d --- /dev/null +++ b/notes_27_1_17.txt~ @@ -0,0 +1,20 @@ +git clone + Clones a repo from github onto your local system +git status + To view the untracked files and folders in the repository +git reset HEAD~1 + Moves repo back to the previous commit made +git-remote -v + Lists the remotes linked to the repository + + +Files ending with ~ are made by the text editor and will generally cease to exist as soon as the editor is closed + +This is a trial for rebasing. +git rebase -i + i is for interactive rebasing + rebasing-squashing is merging two commits into one commit + +The commit log can be visualized as a linked list of commits +The latest git commit is called the HEAD +The second last commit is HEAD~1