Problem
How to fix a file in a branch.
Solution
We need to checkout the branch from repository.
Modify the file and fix the issue.
Commit the changes back to our branch.
An example session is showed below.
git checkout challenge2 #now you modify the file, once done git commit -m 'fixed delete_images func' -a git push origin # after modification we want to return in default branch git checkout master git branch
No comments:
Post a Comment