Skip to content

xxss0903/gitpush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

gitpush

git auto push sh

add gitpush

  • change gitpush.sh to execuable file: $chmod +x gitpush.sh
  • move gitpush.sh to ~/.ssh directory
  • add alias to you shell environment: $vim ~/.shrc add "alias gitpush='bash ~/.ssh'" to shrc tail
  • source you .shrc file: $source ~/.shrc

useage

  • $cd project_directory
  • $gitpush
  • $y
  • add commit comment
  • if directory is not initialized, then you need add remote url

About

git auto push sh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages