Run the following command to list the modified files
git ls-files -m
Run the following command to list the modified files
git ls-files -m
Issue the following commands
git add FOLDER_PATH/* git commit -m 'Adding new module' git push origin BRANCH_NAME
Issue the following commnds from terminal to sort out the issue.
git rm -r --cached . git add -A git commit -am 'Removing ignored files'
Run the following command
git branch -d BRANCH_NAME
Run the following commands
git checkout -b NEW_BRANCH_NAME git push -u origin NEW_BRANCH_NAME
Run the following commands
git config --global user.email "info@phpcodez.com" git config --global user.name "PHPCodez"
1. Rename your local branch.
If you are on the branch you want to rename:
git branch -m NEWNAME
If you are on a different branch:
git branch -m OLDNAME NEWNAME
2. Delete the old-name remote branch and push the NEWNAME local branch.
git push origin :OLDNAME NEWNAME
3. Reset the upstream branch for the NEWNAME local branch.
Switch to the branch and then:
git push origin -u NEWNAME
$ apt-get install git