I have atom editor installed and git bash on my windows PC.
In the screenshot below - Brian opens the file in atom editor using atom . command on his MAC machine.
However same cannot be done on the git bash on the windows machine as shown in the screenshot.
In the branching operation shown in the Week 1 lecture :-
- A repo is cloned from github (cd lecture1)
- New branch - feature is made (git branch feature; git checkout feature)
- The existing file (index.html) is opened in atom (using atom .) command and edited.
- git add, git commit and git push-upstream command used.
I am getting stuck 3rd step, I cant open atom editor on windows git bash using atom . As a result, I have to separately copy the files in a folder and then separately open in atom. How can I open atom and edit files of cloned repo and then push both branches?
I can push both branches but the file is unchanged in both branches and I think it has to do with me not editing files in correct directory.
Sorry for long question but thought I would write.