Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit 7c4b0512 authored by Marc Coiffier's avatar Marc Coiffier
Browse files

Switch to a smoother autocommit workflow

parent 4c34fedc
#!/bin/bash
commit="$1"
set -ue
git checkout history
git merge "$commit"
git checkout master-new
git reset --hard history
git rebase -i master
git checkout master
git merge master-new
git checkout history
git merge master
git checkout autocommit
git rebase history
#!/bin/bash
notify-send "Stack: Compilation completed successfully"
if [ ! -e .autocommit ]; then
git branch autocommit || :
git clone -b autocommit . .autocommit
fi
GIT_DIR=.autocommit/.git git commit -am "Successful build (on $(date))"
GIT_DIR=.autocommit/.git git push
git commit -am "Successful build (on $(date))"
notify-send "New commit pushed to the autocommit branch"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment