mirror of
https://github.com/MunGell/awesome-for-beginners.git
synced 2026-01-27 13:58:07 -08:00
Compare commits
2 Commits
13692967e7
...
728ee46fa8
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
728ee46fa8 | ||
|
|
c880a2530a |
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -20,7 +20,8 @@ jobs:
|
||||
run: node .github/scripts/build.js
|
||||
- name: Commit
|
||||
run: |
|
||||
git config --global user.name 'Shmavon Gazanchyan'
|
||||
git config --global user.email 'MunGell@users.noreply.github.com'
|
||||
git config --global user.name 'Github Action'
|
||||
git config --global user.email 'github-action@github.com'
|
||||
git commit -am "Update README.md"
|
||||
git push
|
||||
|
||||
|
||||
21
make-branch.sh
Executable file
21
make-branch.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euof pipefail
|
||||
|
||||
profilename="$1"
|
||||
projectname="awesome-for-beginners"
|
||||
branchname="${2:-main}"
|
||||
|
||||
fullname="${profilename}/${branchname}"
|
||||
|
||||
branchname="${fullname}-branch-copy"
|
||||
|
||||
git checkout main
|
||||
git checkout -b "${branchname}"
|
||||
git remote add "${profilename}" "https://github.com/${profilename}/awesome-for-beginners.git"
|
||||
git fetch "${profilename}"
|
||||
git merge --no-gpg "${fullname}" -m "Merge ${fullname} into ${branchname}"
|
||||
git remote remove "${profilename}"
|
||||
git fetch --prune
|
||||
git push --set-upstream origin "${branchname}"
|
||||
git checkout main
|
||||
Reference in New Issue
Block a user