Skip to content

Instantly share code, notes, and snippets.

@git-thinh
git-thinh / Cygwin
Last active January 27, 2018 02:46
alias cls='clear'
alias c='cd /cygdrive/c'
alias home='cd ~'
alias code='cd /cygdrive/c/code'
alias min='clear && PATH=$PATH:/cygdrive/c/min/bin && gcc -v && echo'
1. UPDATE CYGWIN
First of all you will need to ensure that Cygwin has the necessary binaries required for apt-cyg. This is achieved via the use of the Cygwin setup executable via the Windows command prompt.
C:\Windows\System32>C:\Users\admin\Downloads\setup.exe -q -P wget,tar,qawk,bzip2,subversion,vim
clear
git add *
git add README.md
git reset HEAD tên_file
git commit -m "Update ..."
git push origin maste
git push -f origin master