Article 4Y47M Access Git username in c file

Access Git username in c file

by
atharvdesai1996
from LinuxQuestions.org on (#4Y47M)
Hello Everyone,
I'm writing a C file in ubuntu which on execution should create a text file and write git username in it. I have completed text file creation part in my C code and also the general git configuration part whereby typing git global username gives me github username. What should I write in my C code so that when i run it on terminal, it should write my git username in the created text file??latest?d=yIl2AUoC8zA latest?i=WVNV2Rp7qDk:rtGYzsZoVu0:F7zBnMy latest?i=WVNV2Rp7qDk:rtGYzsZoVu0:V_sGLiP latest?d=qj6IDK7rITs latest?i=WVNV2Rp7qDk:rtGYzsZoVu0:gIN9vFwWVNV2Rp7qDk
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments