Skip to content

MemoryFactory/git_prj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git_prj

Contain some shell scripts

List:

Usage:

./try-pull.sh [option]

Attempt to pull all modifications online every 5 seconds until succeed

./try-pull.sh

Attempt to pull files from origin(github default)

./try-pull.sh all

Attempt to pull files from github and then gitee

./try-pull.sh github

Attempt to pull files from github only

./try-pull.sh gitee

Attempt to pull files from gitee only

./try-push.sh [option]

Attempt to push all modifications online every 5 seconds until succeed

./try-push.sh

Attempt to push files to origin(github default)

./try-push.sh all

Attempt to push files to github and then gitee

./try-push.sh github

Attempt to push files to github only

./try-push.sh gitee

Attempt to push files to gitee only

./easy-log.sh [option]

To log commit history in a simple and pretty way

./easy-log.sh

--pretty=oneline --abbrev-commit --graph

./easy-log.sh oneline

--pretty=oneline --abbrev-commit --graph

./easy-log.sh pretty

--color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit

./all-push.sh

Attemp to push files to github and gitee as same as ./try-push.sh all

./start.sh [option]

Pull new modification from github and gitee, and switch to branch 'dev' before working

./start.sh

Create working enviroment, pulling new files from github and gitee

./start.sh github

Create working enviroment, pulling new files from github only

./start.sh gitee

Create working enviroment, pulling new files from gitee only

./finish.sh [option]

Merge modifications to branch 'main', and then push them to github and gitee

./finish.sh

Have all things done, and push modifications to github and gitee

./finish.sh github

Have all things done, and push modifications to github only

./finish.sh gitee

Have all things done, and push modifications to gitee only

About

Contain some shell scripts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages