Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
stylenone

Fetch all the source codes

...

in the

...

current repository

Code Block
languagebash
titlegit_fetch.sh
#!/bin/bash
sudo -u apache git fetch --all


Pull in the current repository

Code Block
languagebash
titlegit_fetch.sh
#!/bin/bash
sudo -u apache git pull origin master

...


Fetch codes and Merge in the current repository

Code Block
languagebash
titlegit_fetch.sh
#!/bin/bash
sudo -u apache git fetch --all
sudo -u apache git merge pullorigin master


Commit codes in the current working directory

...