Hi !
I am having a hard time helping someone use git from SAS Studio 9.4 . For the context I am a beginner using SAS 9.4 and I have used git from the command line and other graphic tools.
The symptoms are :
* getting back on a versionned projet the operation "push" (or "send") is not possible with no explanation logs.
* the "commit" (or "validate") operation was done correctly and is versionned in the history
What we tried (me from a dummy project and the client from his project) :
* use command line from SAS Studio --> KO with the following codes
```
data _null_;
n = git_status("/user/CMB/gs120/test_git");
put n=;
run;
X git --version ;
CALL SYSTEM ('git --version');
%SYSEXEC ls
data _null_;
call system ('ls');
run;
```
* Use the equivalent a `git status` --> KO since I suppose we do note have SAS 6th update (9.4 M6)
```
data _null_;
n = git_status("Your-Repository");
put n=;
run;
```
* try to set up a new clean remote and push our changes there --> for now KO for a copy all files to the empty cloned folder
Conclusion : it appears we can't find clue of what is happening in the local repository. So a solution could be to copy every file manually to a new clean repository... or are we missing something ?
Moreover, it seems we can't edit other files than .sas files. Does someone have a way to edit README, .gitlab-ci, etc... files in SAS Studio please ?
Thanks in advance for any help !
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.