I am working on the SO Ruby Chat rules repo. The RULES.md
in master should be the same as rules.md
on the gh-pages branch; however, it does not reflect changes of the latter.
I know that a symbolic link in Directory B simply points to a file in Directory A. I want to apply the same logic across branches in git.
Again, since the gh-pages branch is the main focus, I would like a symlink in master that points to gh-pages/rules.md
. I have done some research and cannot find anything for this exact issue.
The scenario you are trying to implement is not possible(sym link).
Please check the following things if you are worked or not.
git status
git add rules.md
git commit -m "message against the changes"
git checkout branchname
git merge branch name
If there are no conflicts then it should merge smoothly. All your changes present in master branch reflects here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With