{
organization(login: "PUT_YOUR_ORG_HERE") {
id
name
teams(first: 1) {
edges {
node {
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query getCommitsByBranchByRepo($org:String!,$repo:String!) { | |
organization(login:$org) { | |
name | |
repository(name:$repo) { | |
name | |
refs(refPrefix: "refs/heads/", first: 10) { | |
nodes { | |
id | |
name | |
target { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
query { | |
organization (login: "PUT_YOUR_ORG_HERE") { | |
repository (name: "PUT_YOUR_REPO_NAME_HERE") { | |
id | |
name | |
refs (refPrefix: "refs/heads/", first: 10) { | |
edges { | |
node { | |
id | |
name |
I hereby claim:
- I am hollywood on github.
- I am hollyw0od (https://keybase.io/hollyw0od) on keybase.
- I have a public key whose fingerprint is 4394 76D2 62D1 7480 2C0B E648 B629 C944 E0F8 9C42
To claim this, I am signing this object:
- Ensure you have the repository cloned locally and that it is up to date.
a.git clone <repo-address>
if the repository is not locally available (thecd
into the newly created directory). b. If you had it available and did not need to clone typegit pull
to make sure you have the most recent changes from origin (your current Git host) in your local repository. - Create the destination repository on your GitHub Enterprise instance.
- Change the
origin
URL of your local repository to point to the new GitHub repository.
a.git remote set-url origin <address-to-repo-here>
- Push the repository, with all branches, to GitHub Enterprise.
a.git push origin "refs/remotes/origin/*:refs/heads/*"
- SSH into your GitHub Enterprise instance.
- Run the GitHub Enterprise Console by typing the following:
ghe-console -y
- When in the console, type the following to change the username option:
GitHub.config.set("user_renaming_enabled", "false", dat("YOUR_USERNAME"))
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Demo |