-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI #18
Labels
Comments
petrosh
changed the title
JS DOM
JS DOM – Template Append and Insert Elements CSS Console Storage
Aug 27, 2016
Open
petrosh
changed the title
JS DOM – Template Append and Insert Elements CSS Console Storage
CI
Dec 26, 2016
Snippetecho CHECKOUT...
git fetch origin refs/pull/$TRAVIS_PULL_REQUEST/head:$TRAVIS_PULL_REQUEST_BRANCH
git clone $REPO builds
cd builds
git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH
cd ..
ls
echo prettyformat an - cn - D:
git log -p -1 --pretty=format:"%an - %cn"
printf "\n***\n"
echo log namestatus
git log -p -1 --name-status
printf "\n***\n"
echo cached
git diff --cached --name-only
printf "\n***\n"
echo prettyformat commit hash H:
git log -1 --pretty=format:"%H"
printf "\n---\n"
SHA=`git rev-parse --verify HEAD`
echo SHA: $SHA
echo List of all files changed in a commit
git diff-tree --no-commit-id --name-only -r $SHA
printf "\n---\n"
echo difftree:
git diff-tree --no-commit-id --name-only -r $SHA
printf "\n---\n"
echo trackedfiles
git ls-files -t
printf "\n---\n"
echo branch: $TRAVIS_BRANCH
echo sourcebranch: $TRAVIS_SOURCE_BRANCH
echo pr: $TRAVIS_PULL_REQUEST
echo PRbranch: $TRAVIS_PULL_REQUEST_BRANCH
printf "\n---\n"
# pull guy (extended name)
echo PR_USER: ${PR_USER:-`git log -1 --pretty=format:"%an"`}
# SSH_REPO=${REPO}
echo repo $REPO $SSH_REPO
echo GITHUB_URL ${GITHUB_URL:-`git config remote.origin.url`}
printf "\n---\n"
echo Get list of all remote references
git remote
printf "\n---\n"
echo show sha nameonly
git show $SHA --name-only
printf "\n---\n"
echo Get only remote branches
git branch -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Links
Travis CI for automatic merge
GitHub links
abc.jpg
to3101ace8db9f.jpg
Articles
API problem
Example
The text was updated successfully, but these errors were encountered: