https://github.com/dcai/moodle-utility_git
Git helper script for moodle repository
https://github.com/dcai/moodle-utility_git
Last synced: 6 days ago
JSON representation
Git helper script for moodle repository
- Host: GitHub
- URL: https://github.com/dcai/moodle-utility_git
- Owner: dcai
- Created: 2011-05-27T07:28:18.000Z (about 15 years ago)
- Default Branch: master
- Last Pushed: 2013-03-21T22:54:56.000Z (about 13 years ago)
- Last Synced: 2024-04-15T01:57:35.124Z (about 2 years ago)
- Language: Shell
- Homepage:
- Size: 113 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
It's a script I use to manage my moodle git repository
## Convention
Branch name must match this pattern $sprint_$issueid_$shortname_$upstreambranch
- $sprint is current sprint version, for example s11 means sprint 11
- $issueid is moodle tracker issue key, for instance: MDL-20000
- $shortname is shortname :-) it indicates the topic of this branch
- $upstreambranch is the start point of the branch, it can be master, 20 or 21
## Useage
- gm info -- this will list your git repo, branch name, related branch names and github diff url
- gm update -- update all remote repo, and local branches of upstream, pushing updated branch to github
- gm issue -- print tracker issue url
- gm top -- last commit id
- gm credit -- list all moodle contributors