remove a file from git commit
git reset --soft HEAD^
or
git reset --soft HEAD~1
git reset HEAD path/to/unwanted_file
git commit -c ORIG_HEAD git reset file-name
Also in Shell:
- shell file in linux
- mysqldump
- yarn download ubuntu
- crontab only working days
- install react react testing library
- ubuntu syslog.2.gz
- restart pulseaudio ubuntu
- list all files in a directory and subdirectory linux
- git merge branch to master
- how to run shell script
- git ignore not saving changes
- how do i clone a specific branch in git
- comment in shell script
- count files in directory linux
- bash get first argument
- set git origin
- laravel create model
- remove file from stage git
- git cherry pick commit
- launch sublime from terminal
- how to check git repository link
- changing folder permission in linux
- git bash Could not open a connection to your authentication agent
- how to link a repo to a project on github