We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2578707 + 49d8232 commit 741494cCopy full SHA for 741494c
1 file changed
README.md
@@ -65,3 +65,18 @@ export GITHUB_TOKEN=$(github-app-util 2>/dev/null)
65
66
The `2>/dev/null` suppresses the TTY warning so only the token is captured.
67
68
+Then you can use the git api normally with the token:
69
+
70
+```bash
71
+ git pull https://<GITHUB_TOKEN>@github.com/OWNER/REPO.git main
72
+```
73
74
+Or set it more persistently:
75
76
+ # Set the remote URL with the token
77
+ git remote set-url origin https://<GITHUB_TOKEN>@github.com/OWNER/REPO.git
78
79
+ # Then pull normally
80
+ git pull
81
82
0 commit comments