Reputation: 61
I have an existing Redhat BRMS Project. I want to push all my Existing project assets present so far from local git to remote Git location( Github).
Step 1 : I moved into the .git directory
cd JBOSS_HOME/bin/.niogit/REPOSITORY_NAME.git
Step 2 : I have pointed my remote URL to github
git remote set-url origin [email protected]:USERNAME/REPOSITORY_NAME.git
Step 3 : Create post-commit sh file inside hooks folder
git push origin master
chmod +x post-commit
Step 4 : I added new data object and made a save. Nothing got reflected in my remote git .
Please let me know just in case if I missed something.
Upvotes: 0
Views: 135
Reputation: 61
Closing the issue. Points to be noted.
Upvotes: 0