Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
docs:git:gitr [2010/09/24 13:35] billhdocs:git:gitr [2010/10/18 15:22] (current) billh
Line 21: Line 21:
 elif [ "$1" = "pull" ]; then elif [ "$1" = "pull" ]; then
  gitrmode="pull"  gitrmode="pull"
 +elif [ "$1" = "showconfig" ]; then
 + gitrmode="showconfig"
 fi fi
  
 if [ "$gitrmode" = "" ]; then if [ "$gitrmode" = "" ]; then
- echo -e "Usage: `basename $0` <fetch|status|pull>\n"+ echo -e "Usage: `basename $0` <fetch|status|pull|showconfig>\n"
  exit  exit
 fi fi
Line 53: Line 55:
  echo -e "\n";  echo -e "\n";
  
 + elif [ "$gitrmode" = "showconfig" ]; then
 + echo "showing .git/config for ${item}..."
 + cat .git/config
 + echo -e "\n";
  fi  fi
  
  • docs/git/gitr.1285356916.txt.gz
  • Last modified: 2010/09/24 13:35
  • by billh