You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
xpetit f5d3ef5698
Make it work with non-executable scripts
3 years ago
..
README.md Make it work with non-executable scripts 3 years ago

README.md

to-git-or-not-to-git-?

Instructions

Write in a file to-git-or-not-to-git.sh the command that isolates your Gitea id.

Only the numbers will appear.

Here is the base command that needs to be adapted with your username and more :

curl -s https://((DOMAIN))/api/graphql-engine/v1/graphql --data '{"query":"{user(where:{login:{_eq:\"choumi\"}}){id}}"}'

Usage

$ bash to-git-or-not-to-git.sh
231748
$