varJson='[
{
"id": 1296269,
"name": "Hello-World",
"full_name": "octocat/Hello-World",
"created_at": "2011-01-26T19:01:12Z",
"updated_at": "2011-01-26T19:14:43Z"
},
{
"id": 1296270,
"name": "Hello-World2",
"full_name": "octocat/Hello-World2",
"created_at": "2011-01-26T19:01:12Z",
"updated_at": "2011-01-26T19:14:43Z"
}
]'
echo "$varJson" | jq -r '.[] | "\(.name) \(.created_at)"'
Hello-World 2011-01-26T19:01:12Z
Hello-World2 2011-01-26T19:01:12Z
git clone https://github.com/somerepo
git clone git@github.com:somerepo
git remote -v
git remote set-url origin git@github.com:somerepo