Git branch tracking
Added by Bryan Ward about 16 years ago
I just setup a project in Redmine using a git repository. The trouble I am having though is that Redmine only allows me to view and browse revisions to the master branch. Currently I am doing a lot of development in a separate branch I am not reading to merge into the master branch yet, but I would like to be able to visually track my revision history in this branch? Is there a way to do this, or is this a feature that still needs work?
Replies (26)
RE: Git branch tracking - Added by deepak Kumar over 3 years ago
It can be done in easy way :
write shell script to switch git branch
###########update_repo.sh###############
remotebranch_list=$(git branch -a)
#echo $directory_list
for branch_list in $remotebranch_list
do
branchname=$(echo $branch_list | cut -d'/' -f 3)
echo $(git switch $branchname) >>log.txt
done #######################################
add Jenkins job or scheduler to update repository and run shell script to update branch for every new commit .
branch.png (41.6 KB) branch.png |
- « Previous
- 1
- 2
- Next »