This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Removing commit in GitHub repository through git in the command line | |
#1. Open git through command line or bash | |
#2. After setting a username and commit email address connect to Github's reposirory: | |
git clone <repository's url with .git> | |
cd <repository's name> | |
git rebase -i HEAD~1 #for editing last commit | |
#now a text editor will open with commit's details and possible actions, exchange "pick" in the first line with the desired command, save file, and close file. Rest is done automatically | |
#3. Push the commit to GitHub: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FOR %%A IN (*.svg) DO inkscape --without-gui --file="%%A" --export-dpi=300 --export-png="%%A.png" |