# Git

**URL:** https://forum.codewithmosh.com/c/git/6.md

[Latest](https://forum.codewithmosh.com/latest.md) · [Categories](https://forum.codewithmosh.com/categories.md)

---

## [About the Git category](https://forum.codewithmosh.com/t/about-the-git-category/14)

<div class="topic-metadata">

**Author:** [@Mosh](https://forum.codewithmosh.com/u/Mosh)\
**Replies:** 0\
**Last updated:** [October 22, 2020, 10:24pm UTC](https://forum.codewithmosh.com/t/about-the-git-category/14 "2020-10-22T22:24:16Z")

</div>

---

## [Git Course Not Available?](https://forum.codewithmosh.com/t/git-course-not-available/72567)

<div class="topic-metadata">

**Author:** [@koroshiya](https://forum.codewithmosh.com/u/koroshiya)\
**Replies:** 1\
**Last updated:** [May 8, 2026, 6:00pm UTC](https://forum.codewithmosh.com/t/git-course-not-available/72567 "2026-05-08T18:00:12Z")

</div>

I was sent an email advertising the full Git course for $15, but when I click the link in the email, it says course not available.

---

## [Anyone uses git worktree?](https://forum.codewithmosh.com/t/anyone-uses-git-worktree/71130)

<div class="topic-metadata">

**Author:** [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)\
**Replies:** 2\
**Last updated:** [April 6, 2025, 6:28am UTC](https://forum.codewithmosh.com/t/anyone-uses-git-worktree/71130 "2025-04-06T06:28:23Z")

</div>

Hello. I would like to know. Do anyone of you use git worktrees? If so what are your use cases? Did you fall in any pitfall? If so, what was them? Regards.

---

## [Git rebase -i \<number\> not opening git-rebase-todo file](https://forum.codewithmosh.com/t/git-rebase-i-number-not-opening-git-rebase-todo-file/27982)

<div class="topic-metadata">

**Author:** [@RotoruaPete](https://forum.codewithmosh.com/u/RotoruaPete)\
**Replies:** 7\
**Last updated:** [September 21, 2024, 10:29pm UTC](https://forum.codewithmosh.com/t/git-rebase-i-number-not-opening-git-rebase-todo-file/27982 "2024-09-21T22:29:18Z")

</div>

In the lesson “Amending an earlier commit”, when I run git rebase -i VSCode opens with the error “The editor could not be opened due to an unexpected error: Assertion Failed: argument is undefined or null” As far as I …

---

## [Master Git Course Terminal Improvements](https://forum.codewithmosh.com/t/master-git-course-terminal-improvements/1698)

<div class="topic-metadata">

**Author:** [@MagicDude4Eva](https://forum.codewithmosh.com/u/MagicDude4Eva)\
**Replies:** 1\
**Last updated:** [September 16, 2024, 7:45am UTC](https://forum.codewithmosh.com/t/master-git-course-terminal-improvements/1698 "2024-09-16T07:45:01Z")

</div>

I was watching the Git course as a refresher, and I thought that some practical tooling (especially when using Mac / home-brew) can be dramatically improved to make life easier and more practical. I know it is valuable …

---

## [Git terminal to visual code studio as editor](https://forum.codewithmosh.com/t/git-terminal-to-visual-code-studio-as-editor/28691)

<div class="topic-metadata">

**Author:** [@puneet](https://forum.codewithmosh.com/u/puneet)\
**Replies:** 2\
**Last updated:** [September 12, 2024, 5:25am UTC](https://forum.codewithmosh.com/t/git-terminal-to-visual-code-studio-as-editor/28691 "2024-09-12T05:25:59Z")

</div>

I just downloaded visual studio code and unable to connect through terminal using git config.

---

## [Visual diff tool](https://forum.codewithmosh.com/t/visual-diff-tool/28066)

<div class="topic-metadata">

**Author:** [@sivakumar](https://forum.codewithmosh.com/u/sivakumar)\
**Replies:** 1\
**Last updated:** [August 12, 2024, 8:06pm UTC](https://forum.codewithmosh.com/t/visual-diff-tool/28066 "2024-08-12T20:06:32Z")

</div>

I can’t understand visual diff tool

---

## [GIT rename or moving files](https://forum.codewithmosh.com/t/git-rename-or-moving-files/27639)

<div class="topic-metadata">

**Author:** [@sivakumar](https://forum.codewithmosh.com/u/sivakumar)\
**Replies:** 15\
**Last updated:** [August 8, 2024, 8:13am UTC](https://forum.codewithmosh.com/t/git-rename-or-moving-files/27639 "2024-08-08T08:13:34Z")

</div>

git rename or moving files is not working what can i do

---

## [Commit best practice](https://forum.codewithmosh.com/t/commit-best-practice/27941)

<div class="topic-metadata">

**Author:** [@sivakumar](https://forum.codewithmosh.com/u/sivakumar)\
**Replies:** 2\
**Last updated:** [July 29, 2024, 8:12pm UTC](https://forum.codewithmosh.com/t/commit-best-practice/27941 "2024-07-29T20:12:25Z")

</div>

Can you please explain git commit best practices

---

## [Ignoring files Doubt](https://forum.codewithmosh.com/t/ignoring-files-doubt/27642)

<div class="topic-metadata">

**Author:** [@sivakumar](https://forum.codewithmosh.com/u/sivakumar)\
**Replies:** 1\
**Last updated:** [July 13, 2024, 3:56pm UTC](https://forum.codewithmosh.com/t/ignoring-files-doubt/27642 "2024-07-13T15:56:08Z")

</div>

i can’t understand which file you ignore why you add echo command you are creating frustration can you please tell me which file to ignore… normally i have some file in VS code the file is not showing in my git (lock fil…

---

## [Git Ignore not working](https://forum.codewithmosh.com/t/git-ignore-not-working/24029)

<div class="topic-metadata">

**Author:** [@theorion](https://forum.codewithmosh.com/u/theorion)\
**Replies:** 2\
**Last updated:** [June 26, 2024, 4:32am UTC](https://forum.codewithmosh.com/t/git-ignore-not-working/24029 "2024-06-26T04:32:06Z")

</div>

Try as i might logs/ is still showing up on the status. triple checked and have followed mosh up to this point. did restart my console a few times and tried on bash and microsoft console too.

---

## [Git Ultimate Course](https://forum.codewithmosh.com/t/git-ultimate-course/27314)

<div class="topic-metadata">

**Author:** [@Hatef](https://forum.codewithmosh.com/u/Hatef)\
**Replies:** 0\
**Last updated:** [June 24, 2024, 10:26am UTC](https://forum.codewithmosh.com/t/git-ultimate-course/27314 "2024-06-24T10:26:22Z")

</div>

I think one part is missing in the Rebasing Video. Before using git rebase --continue or other switches, you have to stage the changes and then use the aforementioned command. This part was not mentioned (or I am dumb ID…

---

## [Git push using local config not working](https://forum.codewithmosh.com/t/git-push-using-local-config-not-working/26729)

<div class="topic-metadata">

**Author:** [@sylla17](https://forum.codewithmosh.com/u/sylla17)\
**Replies:** 3\
**Last updated:** [May 21, 2024, 5:29pm UTC](https://forum.codewithmosh.com/t/git-push-using-local-config-not-working/26729 "2024-05-21T17:29:33Z")

</div>

Hello I am using git version 2.42.0.windows.2 I have a global config. I am working on another project with a git local config (git config --local) but while pushing git is still using global config user.name. Can some…

---

## [Problem with Pushing to Github](https://forum.codewithmosh.com/t/problem-with-pushing-to-github/26681)

<div class="topic-metadata">

**Author:** [@KingJoel](https://forum.codewithmosh.com/u/KingJoel)\
**Replies:** 4\
**Last updated:** [May 19, 2024, 6:49pm UTC](https://forum.codewithmosh.com/t/problem-with-pushing-to-github/26681 "2024-05-19T18:49:11Z")

</div>

I keep getting this error when i try to push to github “fatal: unable to access ‘MomohJoel/Coding-along · GitHub’: error setting certificate file: /usr/ssl/certs/ca-bundle.crt” Please help me out on these.

---

## [Why doesn't typing "git commit" take me to VS Code?](https://forum.codewithmosh.com/t/why-doesnt-typing-git-commit-take-me-to-vs-code/24200)

<div class="topic-metadata">

**Author:** [@donnie](https://forum.codewithmosh.com/u/donnie)\
**Replies:** 3\
**Last updated:** [February 16, 2024, 1:47am UTC](https://forum.codewithmosh.com/t/why-doesnt-typing-git-commit-take-me-to-vs-code/24200 "2024-02-16T01:47:03Z")

</div>

Sorry, I know this is a newbie question, but I’m just trying to follow along. In the lesson “Creating Snapshots” → “5. Committing Changes” Mosh types git commit into the command line and it goes straight to VS code and…

---

## [Issue with git merge to master](https://forum.codewithmosh.com/t/issue-with-git-merge-to-master/24654)

<div class="topic-metadata">

**Author:** [@Miit](https://forum.codewithmosh.com/u/Miit)\
**Replies:** 2\
**Last updated:** [February 12, 2024, 10:45am UTC](https://forum.codewithmosh.com/t/issue-with-git-merge-to-master/24654 "2024-02-12T10:45:23Z")

</div>

Hi Mosh, I trying to know and fixing git merge to master branch. But NO luck for me. I end up with the issue of git merge to master. I just want to start or reset the git master from the current branch. Is it possible…

---

## [Finding an open source project to contribute to](https://forum.codewithmosh.com/t/finding-an-open-source-project-to-contribute-to/24183)

<div class="topic-metadata">

**Author:** [@theorion](https://forum.codewithmosh.com/u/theorion)\
**Replies:** 2\
**Last updated:** [December 22, 2023, 5:04am UTC](https://forum.codewithmosh.com/t/finding-an-open-source-project-to-contribute-to/24183 "2023-12-22T05:04:40Z")

</div>

I’m FINALLY finishing up with the front end learning path on docker now, but I’ve been thinking about finding a project to contribute to but i have no idea where to start. Anyone have advice on how to search for a projec…

---

## [GIT - Visual Diff Tool](https://forum.codewithmosh.com/t/git-visual-diff-tool/4308)

<div class="topic-metadata">

**Author:** [@gsanchezolea](https://forum.codewithmosh.com/u/gsanchezolea)\
**Replies:** 8\
**Last updated:** [December 7, 2023, 11:40pm UTC](https://forum.codewithmosh.com/t/git-visual-diff-tool/4308 "2023-12-07T23:40:45Z")

</div>

I am on the 13th segment of the 5 hour course currently looking at Visual Diff Tools, I have gone ahead and run the following commands in the following order in regards to setup git config --global diff.tool vscode gi…

---

## [What should I set autocrlf to in windows](https://forum.codewithmosh.com/t/what-should-i-set-autocrlf-to-in-windows/23821)

<div class="topic-metadata">

**Author:** [@dami](https://forum.codewithmosh.com/u/dami)\
**Replies:** 0\
**Last updated:** [November 24, 2023, 4:00pm UTC](https://forum.codewithmosh.com/t/what-should-i-set-autocrlf-to-in-windows/23821 "2023-11-24T16:00:21Z")

</div>

Hii, I know that in Mosh’s course on git, autocrlf should be set to input on linux-os machines and true on windows machine. I’ve been collaborating on some projects, I get line ending issues. some of the collaborators…

---

## [Changes from SQL Developer cannot be synchronized](https://forum.codewithmosh.com/t/changes-from-sql-developer-cannot-be-synchronized/23658)

<div class="topic-metadata">

**Author:** [@Malathsam1994](https://forum.codewithmosh.com/u/Malathsam1994)\
**Replies:** 0\
**Last updated:** [November 15, 2023, 2:42pm UTC](https://forum.codewithmosh.com/t/changes-from-sql-developer-cannot-be-synchronized/23658 "2023-11-15T14:42:43Z")

</div>

Hello People :slight\_smile: I am trying to make some scenario because I want to do the same in the real world but on a server. Here are the Steps of the Simulation of what I am trying to do and what is the Problem, whi…

---

## [The Ultimate Git Course: Part 7 Video - Pulling now working](https://forum.codewithmosh.com/t/the-ultimate-git-course-part-7-video-pulling-now-working/15143)

<div class="topic-metadata">

**Author:** [@sharktank](https://forum.codewithmosh.com/u/sharktank)\
**Replies:** 8\
**Last updated:** [November 10, 2023, 7:58pm UTC](https://forum.codewithmosh.com/t/the-ultimate-git-course-part-7-video-pulling-now-working/15143 "2023-11-10T19:58:55Z")

</div>

So I’m on this part of the course, but there seems to be something wrong because when I’m at the part to do the “Git Pull” command just like mosh does to do the 3-way merge, I keep getting this error “Pulling without spe…

---

## [Configuration issue](https://forum.codewithmosh.com/t/configuration-issue/23541)

<div class="topic-metadata">

**Author:** [@passportjay](https://forum.codewithmosh.com/u/passportjay)\
**Replies:** 0\
**Last updated:** [November 10, 2023, 1:56am UTC](https://forum.codewithmosh.com/t/configuration-issue/23541 "2023-11-10T01:56:32Z")

</div>

I keep receiving the following error code on Terminal. Jazz-Mac-mini:~ jazzsb$ git config --global core.editor “code --wait” Jazz-Mac-mini:~ jazzsb$ git config --global -e hint: Waiting for your editor to close the f…

---

## [Browsing history using Gitlens (VSCODE)](https://forum.codewithmosh.com/t/browsing-history-using-gitlens-vscode/19890)

<div class="topic-metadata">

**Author:** [@Ivanchuk](https://forum.codewithmosh.com/u/Ivanchuk)\
**Replies:** 3\
**Last updated:** [May 6, 2023, 3:57pm UTC](https://forum.codewithmosh.com/t/browsing-history-using-gitlens-vscode/19890 "2023-05-06T15:57:56Z")

</div>

Hey there! I can’t get the menu like showed at the course, only the HOME and CONTRIBUTORS appears to me:

---

## [Visual "git bar" in Git course?](https://forum.codewithmosh.com/t/visual-git-bar-in-git-course/2320)

<div class="topic-metadata">

**Author:** [@tarje](https://forum.codewithmosh.com/u/tarje)\
**Replies:** 4\
**Last updated:** [April 26, 2023, 7:57pm UTC](https://forum.codewithmosh.com/t/visual-git-bar-in-git-course/2320 "2023-04-26T19:57:46Z")

</div>

Can someone please redirect me to the place where I can download the Git plugin for my terminal? Have been looking through Mosh’s videoes and googling without finding it.

---

## ["Waiting for your editor to close the file..." with Git-Bash](https://forum.codewithmosh.com/t/waiting-for-your-editor-to-close-the-file-with-git-bash/19562)

<div class="topic-metadata">

**Author:** [@accoladious](https://forum.codewithmosh.com/u/accoladious)\
**Replies:** 0\
**Last updated:** [April 13, 2023, 9:24pm UTC](https://forum.codewithmosh.com/t/waiting-for-your-editor-to-close-the-file-with-git-bash/19562 "2023-04-13T21:24:59Z")

</div>

In Sourctree I opened the terminal and attempted to do git rebase -i origin/main~4 main howver it gave me the error hint: Waiting for your editor to close the file... C:\\Program Files\\Git\\git-bash.exe: line 1: C:Progr…

---

## [Master Git Course Terminal Theme used](https://forum.codewithmosh.com/t/master-git-course-terminal-theme-used/171)

<div class="topic-metadata">

**Author:** [@Poonnakarn](https://forum.codewithmosh.com/u/Poonnakarn)\
**Replies:** 14\
**Last updated:** [April 10, 2023, 4:52am UTC](https://forum.codewithmosh.com/t/master-git-course-terminal-theme-used/171 "2023-04-10T04:52:48Z")

</div>

Hello, I would like to know the theme, add-on or the color schemes that Mosh used when recording Mastering Git video course. Could anyone tell me? Thank you so much.

---

## [Using GIT Commit Hash as a reference in my PHP Dev Environment](https://forum.codewithmosh.com/t/using-git-commit-hash-as-a-reference-in-my-php-dev-environment/19386)

<div class="topic-metadata">

**Author:** [@andrew\_mark](https://forum.codewithmosh.com/u/andrew_mark)\
**Replies:** 0\
**Last updated:** [April 5, 2023, 1:22pm UTC](https://forum.codewithmosh.com/t/using-git-commit-hash-as-a-reference-in-my-php-dev-environment/19386 "2023-04-05T13:22:35Z")

</div>

I would like to be able to reference the latest commit hash reference in my (PHP) dev / test environment but a little unsure of the way to proceed. Ideally, I would commit my changes and then in some automated way recov…

---

## [Filtering History](https://forum.codewithmosh.com/t/filtering-history/18038)

<div class="topic-metadata">

**Author:** [@FreddieOne](https://forum.codewithmosh.com/u/FreddieOne)\
**Replies:** 2\
**Last updated:** [February 2, 2023, 10:14am UTC](https://forum.codewithmosh.com/t/filtering-history/18038 "2023-02-02T10:14:58Z")

</div>

I am at the sessions Browsing History, chapter4 minute 3:25 the filtering by ID doesnt work, I receive the following error message see screenshot. I am working on a Mac OS 11.73 Git version 2.30 I am looking forward …

---

## [Git Creating Snapshots with VS Code](https://forum.codewithmosh.com/t/git-creating-snapshots-with-vs-code/17931)

<div class="topic-metadata">

**Author:** [@FreddieOne](https://forum.codewithmosh.com/u/FreddieOne)\
**Replies:** 2\
**Last updated:** [January 31, 2023, 9:49am UTC](https://forum.codewithmosh.com/t/git-creating-snapshots-with-vs-code/17931 "2023-01-31T09:49:17Z")

</div>

Hallo, i am new in this forum and stared recently with coding with Mosh. I am receiving in VS Code the following error message: „ENOENT: no such file or directory, stat “. That a little bit weired, because this direct…

---

## [Issue in Creating Directory](https://forum.codewithmosh.com/t/issue-in-creating-directory/17833)

<div class="topic-metadata">

**Author:** [@orazbek](https://forum.codewithmosh.com/u/orazbek)\
**Replies:** 6\
**Last updated:** [January 22, 2023, 2:07pm UTC](https://forum.codewithmosh.com/t/issue-in-creating-directory/17833 "2023-01-22T14:07:36Z")

</div>

Hey all, I’ve begun the Git course and after having set the configuration, I see in the video Mosh has already indicated the Path and you see the path in Bash Command, but I can’t set my path for new directory etc… I go…

[Next page](https://forum.codewithmosh.com/c/git/6.md?page=1)
