From a43b26041d1798ba6c711f17d8fe9ec4c43af8a9 Mon Sep 17 00:00:00 2001 From: Marcel Ribeiro-Dantas Date: Fri, 8 Jul 2022 15:11:23 +0200 Subject: Remove GitGuy dead link from git material (close #4314) --- git.html.markdown | 2 -- 1 file changed, 2 deletions(-) (limited to 'git.html.markdown') diff --git a/git.html.markdown b/git.html.markdown index a40ef01b..474ee25d 100644 --- a/git.html.markdown +++ b/git.html.markdown @@ -597,8 +597,6 @@ $ git rm /pather/to/the/file/HelloWorld.c * [SalesForce Cheat Sheet](http://res.cloudinary.com/hy4kyit2a/image/upload/SF_git_cheatsheet.pdf) -* [GitGuys](http://www.gitguys.com/) - * [Git - the simple guide](http://rogerdudler.github.io/git-guide/index.html) * [Pro Git](http://www.git-scm.com/book/en/v2) -- cgit v1.2.3 From dd8d8fc95a5f00cb42d301394ac0ca309a6ecbbf Mon Sep 17 00:00:00 2001 From: Marcel Ribeiro-Dantas Date: Sun, 17 Jul 2022 16:55:07 +0200 Subject: Add examples to git-config --- git.html.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'git.html.markdown') diff --git a/git.html.markdown b/git.html.markdown index 474ee25d..0d8e43ec 100644 --- a/git.html.markdown +++ b/git.html.markdown @@ -124,9 +124,12 @@ To configure settings. Whether it be for the repository, the system itself, or global configurations ( global config file is `~/.gitconfig` ). ```bash -# Print & Set Some Basic Config Variables (Global) +# Set & Print Some Basic Config Variables (Global) $ git config --global user.email "MyEmail@Zoho.com" $ git config --global user.name "My Name" + +$ git config --global user.email +$ git config --global user.name ``` [Learn More About git config.](http://git-scm.com/docs/git-config) -- cgit v1.2.3 From 1b442a5d34e79a26ade10c6adbee01745a3ac7ef Mon Sep 17 00:00:00 2001 From: ashraf Date: Mon, 1 Aug 2022 16:11:00 +0100 Subject: Added git blame to the documentation --- git.html.markdown | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'git.html.markdown') diff --git a/git.html.markdown b/git.html.markdown index 0d8e43ec..5a1d2311 100644 --- a/git.html.markdown +++ b/git.html.markdown @@ -581,7 +581,19 @@ $ git rm HelloWorld.c # Remove a file from a nested dir $ git rm /pather/to/the/file/HelloWorld.c ``` +### blame +Examine specific points the code's history and find out who the last author was on that modified line +```bash +# find the authors on the latest modified lines +$ git blame google_python_style.vim +b88c6a1b (Google Python team 2019-12-30 13:45:23 -0800 12) " See the License for the specific language governing permissions and +b88c6a1b (Google Python team 2019-12-30 13:45:23 -0800 13) " limitations under the License. +b88c6a1b (Google Python team 2019-12-30 13:45:23 -0800 14) +222e6da8 (mshields@google.com 2010-11-29 20:32:06 +0000 15) " Indent Python in the Google way. +222e6da8 (mshields@google.com 2010-11-29 20:32:06 +0000 16) +222e6da8 (mshields@google.com 2010-11-29 20:32:06 +0000 17) setlocal indentexpr=GetGooglePythonIndent(v:lnum) +``` ## Further Information * [tryGit - A fun interactive way to learn Git.](http://try.github.io/levels/1/challenges/1) -- cgit v1.2.3 From 2ec33899094c09ee2c83055189702c7a47e00d26 Mon Sep 17 00:00:00 2001 From: ashraful-alam2k <96380861+ashraful-alam2k@users.noreply.github.com> Date: Mon, 1 Aug 2022 16:17:24 +0100 Subject: Added git blame to the documentation --- git.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git.html.markdown') diff --git a/git.html.markdown b/git.html.markdown index 5a1d2311..fa8896a1 100644 --- a/git.html.markdown +++ b/git.html.markdown @@ -581,8 +581,8 @@ $ git rm HelloWorld.c # Remove a file from a nested dir $ git rm /pather/to/the/file/HelloWorld.c ``` -### blame +### blame Examine specific points the code's history and find out who the last author was on that modified line ```bash # find the authors on the latest modified lines -- cgit v1.2.3 From 62b1dc65295f0d293e5c54d2b5c20a6cbdd3f0e9 Mon Sep 17 00:00:00 2001 From: Ashraful Alam <96380861+ashraful-alam2k@users.noreply.github.com> Date: Tue, 2 Aug 2022 06:45:56 +0100 Subject: Update git.html.markdown Co-authored-by: Marcel Ribeiro Dantas, Ph.D. --- git.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git.html.markdown') diff --git a/git.html.markdown b/git.html.markdown index fa8896a1..b587e624 100644 --- a/git.html.markdown +++ b/git.html.markdown @@ -583,7 +583,7 @@ $ git rm /pather/to/the/file/HelloWorld.c ``` ### blame -Examine specific points the code's history and find out who the last author was on that modified line +Examine specific parts of the code's history and find out who was the last author to modify that line ```bash # find the authors on the latest modified lines $ git blame google_python_style.vim -- cgit v1.2.3 From c84a26f14c49da4099a971b05af3a38c2948bff3 Mon Sep 17 00:00:00 2001 From: Octavia <89228316+Lolabird@users.noreply.github.com> Date: Sun, 25 Jun 2023 12:28:23 -0600 Subject: fix typo in blame section so code block can appear properly Code block wasn't rendering properly because there wasn't a line break before it. --- git.html.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'git.html.markdown') diff --git a/git.html.markdown b/git.html.markdown index b587e624..9d33225f 100644 --- a/git.html.markdown +++ b/git.html.markdown @@ -583,7 +583,8 @@ $ git rm /pather/to/the/file/HelloWorld.c ``` ### blame -Examine specific parts of the code's history and find out who was the last author to modify that line +Examine specific parts of the code's history and find out who was the last author to modify that line. + ```bash # find the authors on the latest modified lines $ git blame google_python_style.vim -- cgit v1.2.3